package com.xyd.model.process;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyd.model.base.BaseEnitity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "审批模板")
@TableName("oa_process_template")
@Data
public class ProcessTemplate extends BaseEnitity {
    @Schema(description = "模板名称")
    @TableField("name")
    private String name;
    @Schema(description = "审批类型名称")
    @TableField(exist = false)
    private String processTypeName;
    @Schema(description = "图标路径")
    @TableField("icon_url")
    private String iconUrl;
    @Schema(description = "类型id")
    @TableField("process_type_id")
    private Long processTypeId;
    @Schema(description = "表单属性")
    @TableField("form_props")
    private String formProps;
    @Schema(description = "表单选项")
    @TableField("form_options")
    private String formOptions;
    @Schema(description = "流程定义key")
    @TableField("process_definition_key")
    private String processDefinitionKey;
    @Schema(description = "流程定义上传路径")
    @TableField("process_definition_path")
    private String processDefinitionPath;
    @Schema(description = "流程定义模型id")
    @TableField("process_model_id")
    private String processModeId;
    @Schema(description = "描述")
    @TableField("description")
    private String description;
    @Schema(description = "状态")
    @TableField("status")
    private Integer status;

}
